#ifndef INGREDIENT_H_
#define INGREDIENT_H_

#include <string>
using namespace std;


struct Ingredient {
public:
	// constructors
	Ingredient () {}

    // utility functions
	string display() const;

/*********************************************************************/
/*Created or Modified by WEP*/
/*Added getter and setter for ingredient*/
/*********************************************************************/
	// getter and setter
	int getIngredientId() const
	{
		return ingredient_id;
	}

	void setIngredientId(int ing_id)
	{
		ingredient_id = ing_id;
	}

	int getRecipeId() const
	{
		return recipe_id;
	}

	void setRecipeId(int rec_id)
	{
		recipe_id = rec_id;
	}

	float getAmount() const
	{
		return amt;
	}

	void setAmount(float amount)
	{
		amt = amount;
	}

	string getUnits() const
	{
		return units;
	}

	void setUnits(string unit)
	{
		units = unit;
	}

	string getName() const
	{
		return name;
	}

	void setName(string ing_name)
	{
		name = ing_name;
	}


private:
   //constants  

   // private data
	int ingredient_id;
	int recipe_id;
	double amt;
	string units;
	string name;
};


#endif //INGREDIENT_H_
